j3deditor.bin.hierarchy.util
Interface J3DeSerializable

All Known Implementing Classes:
J3DeCamera

public interface J3DeSerializable

Identifies the instance of implementing class as serializable hierarchy object and allows its state to be serialized or deserialized.

Author:
Risto Seene

Method Summary
 void readData(java.io.InputStream in)
          Reads the state from input stream.
 void writeData(java.io.OutputStream out)
          Writes the state to output stream.
 

Method Detail

writeData

void writeData(java.io.OutputStream out)
               throws java.lang.Exception
Writes the state to output stream.

Parameters:
out - stream the data will be written to
Throws:
java.lang.Exception - if unable to write

readData

void readData(java.io.InputStream in)
              throws java.lang.Exception
Reads the state from input stream.

Parameters:
in - stream the data will be read from
Throws:
java.lang.Exception - if unable to read